package com.hc.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hc.common.utils.PageUtils;
import com.hc.mall.ware.entity.PurchaseEntity;
import com.hc.mall.ware.vo.MergoVo;
import com.hc.mall.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购单
 *
 * @author huachen
 * @email huachen@gmail.com
 * @date 2025-10-12 08:56:02
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    void mergePurchase(MergoVo mergoVo);

    void received(List<Long> ids);

    void done(PurchaseDoneVo purchaseDoneVo);
}

